package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2025-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TProdstock对象", description="物料库存表（经营数据/末次状态）")
public class TProdstock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "产品（ERP）编码")
    private String bn;

    @ApiModelProperty(value = "名称")
    private String na;

    @ApiModelProperty(value = "型号规格")
    private String size;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "计量单位")
    private String unit;

    @ApiModelProperty(value = "库存数量")
    private Double qt;

    @ApiModelProperty(value = "库存金额")
    private Double amount;

    private Double pqt;//锁库数量
    private Double lqt;//最低库存
    private Double sqt;//安全库存
    private Double hqt;//最高库存

    @ApiModelProperty(value = "仓位代码")
    private String store;

    @ApiModelProperty(value = "仓位代码")
    private String space;

    private Date date;

    private Integer oid;//部门id

    //这个表增加price、weight、pack1、pack2、guid字段，表示：销售标价、单重、内包装含量、外包装含量、录入人guid；
    private Double price;
    private Double weight;
    private Double pack1;
    private Double pack2;
    private Long guid;

    private String dz;//定制类型
    private String gy;//工艺特征
    private String tek;//技术参数
}
